package com.yxhl.zoume.core.coupon.view;

import com.yxhl.zoume.common.ui.view.BaseView;
import com.yxhl.zoume.data.http.model.coupon.CouponInfo;

import java.util.List;

/**
 * Created by vhawk on 2016/11/3.
 */

public interface HistoryCouponView extends BaseView {

    /**
     * 获取历史优惠券成功
     *
     * @param couponInfoList
     */
    void handleFetchHistoryCouponSucceed(List<CouponInfo> couponInfoList);

    /**
     * 获取历史优惠券失败
     *
     * @param msg
     */
    void handleFetchHistoryCouponFailure(String msg);

    /**
     * 获取历史优惠券网络错误
     */
    void handleFetchHistoryCouponError();
}
